package org.maggioni.springsandbox.model.draw.shapes;

import java.util.List;

import org.maggioni.springsandbox.model.decorators.LifeCycleAware;
import org.maggioni.springsandbox.model.draw.Point;

public class Triangle extends Shape implements LifeCycleAware {
	
	List<Point> points;

	public List<Point> getPoints() {
		return points;
	}
	public void setPoints(List<Point> points) {
		this.points = points;
	}

	@Override
	public void init() {
		System.out.println(this.getClass().getName()+" initialized.");
	}
	@Override
	public void dispose() {
		System.out.println(this.getClass().getName()+" disposed.");
	}

	@Override
	public String toString() {
		return "Triangle [points=" + points + ", getId()=" + getId()
				+ ", getName()=" + getName() + "]";
	}

}
